<?php
/* Smarty version 3.1.38, created on 2021-01-16 17:48:04
  from 'D:\phpstudy\phpstudy_pro\WWW\ggw\extend\smartybuilder\libs\Templates\form\json.html' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.38',
  'unifunc' => 'content_6002b654a50e18_13450168',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '211bb2e00402be3e1a8ec7c17f4df525d78a3f74' => 
    array (
      0 => 'D:\\phpstudy\\phpstudy_pro\\WWW\\ggw\\extend\\smartybuilder\\libs\\Templates\\form\\json.html',
      1 => 1610790482,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_6002b654a50e18_13450168 (Smarty_Internal_Template $_smarty_tpl) {
?><div class="layui-form-item" id="<?php echo $_smarty_tpl->tpl_vars['value']->value['name'];?>
ss">
    <div>
        <div class="layui-inline">
            <label class="layui-form-label"><?php echo $_smarty_tpl->tpl_vars['value']->value['desc'];?>
</label>
            <div class="layui-input-inline">
                <input type="text" name="" autocomplete="off" value="键" class="layui-input" readonly>
            </div>
        </div>
        <div class="layui-inline">
            <!--<label class="layui-form-label">验证邮箱</label>-->
            <div class="layui-input-inline">
                <input type="text" name="" autocomplete="off" value="值" class="layui-input" readonly>
            </div>
        </div>
    </div>
    <?php if ($_smarty_tpl->tpl_vars['value']->value['value']) {?>
        <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, json_decode($_smarty_tpl->tpl_vars['value']->value['value'],true), 'v', false, 'key');
$_smarty_tpl->tpl_vars['v']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['key']->value => $_smarty_tpl->tpl_vars['v']->value) {
$_smarty_tpl->tpl_vars['v']->do_else = false;
?>
            <?php if ($_smarty_tpl->tpl_vars['key']->value == 'key') {?>
                <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['v']->value, 'va', false, 'k');
$_smarty_tpl->tpl_vars['va']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['k']->value => $_smarty_tpl->tpl_vars['va']->value) {
$_smarty_tpl->tpl_vars['va']->do_else = false;
?>
                    <?php if ($_smarty_tpl->tpl_vars['k']->value == 0) {?>
    <div>
        <div class="layui-inline">
            <label class="layui-form-label"></label>
            <div class="layui-input-inline">
                <input type="text" name="<?php echo $_smarty_tpl->tpl_vars['value']->value['name'];?>
[key][]"  autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-inline">
            <!--<label class="layui-form-label">验证邮箱</label>-->
            <div class="layui-input-inline">
                <input type="text" name="<?php echo $_smarty_tpl->tpl_vars['value']->value['name'];?>
[value][]"  autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-inline">
            <div class="layui-btn" onclick="tianjiajsons(this,'<?php echo $_smarty_tpl->tpl_vars['value']->value['name'];?>
')">+</div>
        </div>
    </div>
                    <?php } else { ?>
    <div>
        <div class="layui-inline">
            <label class="layui-form-label"></label>
            <div class="layui-input-inline">
                <input type="text" name="<?php echo $_smarty_tpl->tpl_vars['value']->value['name'];?>
[key][]"  autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-inline">
            <!--<label class="layui-form-label">验证邮箱</label>-->
            <div class="layui-input-inline">
                <input type="text" name="<?php echo $_smarty_tpl->tpl_vars['value']->value['name'];?>
[value][]"  autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-inline">
            <div class="layui-btn" onclick="shanchujsons(this)">-</div>
        </div>
    </div>
                    <?php }?>
                <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
            <?php }?>
        <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
    <?php } else { ?>
    <div>
        <div class="layui-inline">
            <label class="layui-form-label"></label>
            <div class="layui-input-inline">
                <input type="text" name="<?php echo $_smarty_tpl->tpl_vars['value']->value['name'];?>
[key][]"  autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-inline">
            <!--<label class="layui-form-label">验证邮箱</label>-->
            <div class="layui-input-inline">
                <input type="text" name="<?php echo $_smarty_tpl->tpl_vars['value']->value['name'];?>
[value][]"  autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-inline">
            <div class="layui-btn" onclick="tianjiajsons(this,'<?php echo $_smarty_tpl->tpl_vars['value']->value['name'];?>
')">+</div>
        </div>
    </div>
    <?php }?>
    <div style="display: none" id="<?php echo $_smarty_tpl->tpl_vars['value']->value['name'];?>
"><?php echo $_smarty_tpl->tpl_vars['value']->value['value'];?>
</div>
</div><?php }
}
